// ManagerDlg.h : header file
//

#if !defined(AFX_MANAGERDLG_H__C5E33429_68B6_4F21_91CC_BBC69226279C__INCLUDED_)
#define AFX_MANAGERDLG_H__C5E33429_68B6_4F21_91CC_BBC69226279C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CManagerDlg dialog
#include "ColorString.h"
#include "MultiColorStatic.h"
#include "BannerStatic.h"
#include "TimeStatic.h"
#include "TGrpahWnd.h"
#include "Spectrum.h"

class CCtrlDlg;
class CListDlg;
class CSerialDlg;
class CChangeDlg;
class CManagerDlg : public CDialog
{
public:
	CRect m_crPlaybar;
	CRect m_crVolumebar;
	CRect m_rPlaybar;
	CRect m_rVolumebar;

	int m_iPlaybar;
	int m_iVolumeBar;

	BOOL m_bState;
	BOOL m_bMove;

	BOOL m_bCtrlDlg;
	BOOL m_bListDlg;
	BOOL m_bSerialDlg;
	BOOL m_bChangeDlg;

	CBitmapButton btnClose;
	CBitmapButton btnPlay;
	CBitmapButton btnStop;
	CBitmapButton btnLeft;
	CBitmapButton btnRight;
	CBitmapButton btnTime;
	CBitmapButton btnConfig;
	CBitmapButton btnSpec;
	CBitmapButton btnList;

	TGrpahWnd *m_pGraph;
	CCtrlDlg *m_pCtrlDlg;
	CListDlg *m_pListDlg;
	CChangeDlg *m_pChangeDlg;
	CSerialDlg *m_pSerialComDlg;
	CSpectrum *m_pSpectrum;
// Construction
public:
	CManagerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CManagerDlg)
	enum { IDD = IDD_MANAGER_PLAYDLG };
	CBannerStatic	m_staticBanner;
	CTimeStatic		m_staticTime;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CManagerDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CManagerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnButtonClose();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnPlaybuttonLeft();
	afx_msg void OnPlaybuttonStop();
	afx_msg void OnPlaybuttonPlay();
	afx_msg void OnPlaybuttonRight();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnPlaybuttonTime();
	afx_msg void OnPlaybuttonConfig();
	afx_msg void OnPlaybuttonSpec();
	afx_msg void OnPlaybuttonList();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MANAGERDLG_H__C5E33429_68B6_4F21_91CC_BBC69226279C__INCLUDED_)
